package com.googlecode.milib.display.ui.scroller {
	import com.googlecode.milib.base.IMLBroadcaster;

	/**
	 * @author Marek Brun
	 */
	public interface IScrollable extends IMLBroadcaster {

		function get event_ScrollChanged():String;
		
		/**
		 * @return returns scroll value, from 0 to 1
		 */
		function getScroll():Number;
		
		/**
		 * @return returns dependence of visible content (eg. text) to total length (visible/total)
		 */
		function getVisibleToTotal():Number;
		
		/**
		 * @param scroll setup new scroll, value from 0 to 1
		 */
		function setScroll(scroll:Number):void;
		
		function setScrollByOneUnit(isUp:Boolean):void;
		
		
	}
}
